package org.msfj.authority.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by ace on 2017/9/15.
 */
@ConfigurationProperties(prefix = "jwt-config")
public class JwtConfig {
    private String pubKeyPath;
    private String priKeyPath;
    private String userTokenHeader;
    private String memberTokenHeader;
    private Long userBuffer;
    private Long memberBuffer;
    private Long userExpire;
    private Long memberExpire;

    public String getPubKeyPath() {
        return pubKeyPath;
    }

    public void setPubKeyPath(String pubKeyPath) {
        this.pubKeyPath = pubKeyPath;
    }

    public String getPriKeyPath() {
        return priKeyPath;
    }

    public void setPriKeyPath(String priKeyPath) {
        this.priKeyPath = priKeyPath;
    }

    public String getUserTokenHeader() {
        return userTokenHeader;
    }

    public void setUserTokenHeader(String userTokenHeader) {
        this.userTokenHeader = userTokenHeader;
    }

    public String getMemberTokenHeader() {
        return memberTokenHeader;
    }

    public void setMemberTokenHeader(String memberTokenHeader) {
        this.memberTokenHeader = memberTokenHeader;
    }

    public Long getUserBuffer() {
        return userBuffer;
    }

    public void setUserBuffer(Long userBuffer) {
        this.userBuffer = userBuffer;
    }

    public Long getMemberBuffer() {
        return memberBuffer;
    }

    public void setMemberBuffer(Long memberBuffer) {
        this.memberBuffer = memberBuffer;
    }

    public Long getUserExpire() {
        return userExpire;
    }

    public void setUserExpire(Long userExpire) {
        this.userExpire = userExpire;
    }

    public Long getMemberExpire() {
        return memberExpire;
    }

    public void setMemberExpire(Long memberExpire) {
        this.memberExpire = memberExpire;
    }
}
